<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>SVDF Layer Functions</title>
<title>CMSIS-NN: SVDF Layer Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="cmsis.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="printComponentTabs.js"></script>
<script type="text/javascript" src="cmsis_footer.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 46px;">
  <td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">CMSIS-NN
   &#160;<span id="projectnumber">Version 3.1.0</span>
   </div>
   <div id="projectbrief">CMSIS NN Software Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<div id="CMSISnav" class="tabs1">
    <ul class="tablist">
      <script type="text/javascript">
		<!--
		writeComponentTabs.call(this);
		//-->
      </script>
	  </ul>
</div>
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Usage&#160;and&#160;Description</span></a></li>
      <li><a href="modules.html"><span>Reference</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__SVDF.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">SVDF Layer Functions<div class="ingroups"><a class="el" href="group__groupNN.html">Neural Network Functions</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gafbf5ad3c931103dff943fc39f8f9d519"><td class="memItemLeft" align="right" valign="top">arm_status&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SVDF.html#gafbf5ad3c931103dff943fc39f8f9d519">arm_svdf_s8</a> (const <a class="el" href="structcmsis__nn__context.html">cmsis_nn_context</a> *input_ctx, const <a class="el" href="structcmsis__nn__context.html">cmsis_nn_context</a> *output_ctx, const <a class="el" href="structcmsis__nn__svdf__params.html">cmsis_nn_svdf_params</a> *svdf_params, const <a class="el" href="structcmsis__nn__per__tensor__quant__params.html">cmsis_nn_per_tensor_quant_params</a> *input_quant_params, const <a class="el" href="structcmsis__nn__per__tensor__quant__params.html">cmsis_nn_per_tensor_quant_params</a> *output_quant_params, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *input_dims, const q7_t *input_data, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *state_dims, q7_t *state_data, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *weights_feature_dims, const q7_t *weights_feature_data, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *weights_time_dims, const q7_t *weights_time_data, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *bias_dims, const q31_t *bias_data, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *output_dims, q7_t *output_data)</td></tr>
<tr class="memdesc:gafbf5ad3c931103dff943fc39f8f9d519"><td class="mdescLeft">&#160;</td><td class="mdescRight">s8 SVDF function with 8 bit state tensor and 8 bit time weights  <a href="#gafbf5ad3c931103dff943fc39f8f9d519">More...</a><br/></td></tr>
<tr class="separator:gafbf5ad3c931103dff943fc39f8f9d519"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3dc1b94f56e80e5b80b353ce8d9650b3"><td class="memItemLeft" align="right" valign="top">arm_status&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__SVDF.html#ga3dc1b94f56e80e5b80b353ce8d9650b3">arm_svdf_state_s16_s8</a> (const <a class="el" href="structcmsis__nn__context.html">cmsis_nn_context</a> *input_ctx, const <a class="el" href="structcmsis__nn__context.html">cmsis_nn_context</a> *output_ctx, const <a class="el" href="structcmsis__nn__svdf__params.html">cmsis_nn_svdf_params</a> *svdf_params, const <a class="el" href="structcmsis__nn__per__tensor__quant__params.html">cmsis_nn_per_tensor_quant_params</a> *input_quant_params, const <a class="el" href="structcmsis__nn__per__tensor__quant__params.html">cmsis_nn_per_tensor_quant_params</a> *output_quant_params, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *input_dims, const q7_t *input_data, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *state_dims, q15_t *state_data, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *weights_feature_dims, const q7_t *weights_feature_data, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *weights_time_dims, const q15_t *weights_time_data, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *bias_dims, const q31_t *bias_data, const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *output_dims, q7_t *output_data)</td></tr>
<tr class="memdesc:ga3dc1b94f56e80e5b80b353ce8d9650b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">s8 SVDF function with 16 bit state tensor and 16 bit time weights  <a href="#ga3dc1b94f56e80e5b80b353ce8d9650b3">More...</a><br/></td></tr>
<tr class="separator:ga3dc1b94f56e80e5b80b353ce8d9650b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gafbf5ad3c931103dff943fc39f8f9d519"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">arm_status arm_svdf_s8 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__context.html">cmsis_nn_context</a> *&#160;</td>
          <td class="paramname"><em>input_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__context.html">cmsis_nn_context</a> *&#160;</td>
          <td class="paramname"><em>output_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__svdf__params.html">cmsis_nn_svdf_params</a> *&#160;</td>
          <td class="paramname"><em>svdf_params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__per__tensor__quant__params.html">cmsis_nn_per_tensor_quant_params</a> *&#160;</td>
          <td class="paramname"><em>input_quant_params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__per__tensor__quant__params.html">cmsis_nn_per_tensor_quant_params</a> *&#160;</td>
          <td class="paramname"><em>output_quant_params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>input_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const q7_t *&#160;</td>
          <td class="paramname"><em>input_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>state_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">q7_t *&#160;</td>
          <td class="paramname"><em>state_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>weights_feature_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const q7_t *&#160;</td>
          <td class="paramname"><em>weights_feature_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>weights_time_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const q7_t *&#160;</td>
          <td class="paramname"><em>weights_time_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>bias_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const q31_t *&#160;</td>
          <td class="paramname"><em>bias_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>output_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">q7_t *&#160;</td>
          <td class="paramname"><em>output_data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">input_ctx</td><td>Temporary scratch buffer </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">output_ctx</td><td>Temporary output scratch buffer </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">svdf_params</td><td>SVDF Parameters Range of svdf_params-&gt;input_offset : [-128, 127] Range of svdf_params-&gt;output_offset : [-128, 127] </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">input_quant_params</td><td>Input quantization parameters </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">output_quant_params</td><td>Output quantization parameters </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">input_dims</td><td>Input tensor dimensions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">input_data</td><td>Pointer to input tensor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">state_dims</td><td>State tensor dimensions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">state_data</td><td>Pointer to state tensor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">weights_feature_dims</td><td>Weights (feature) tensor dimensions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">weights_feature_data</td><td>Pointer to the weights (feature) tensor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">weights_time_dims</td><td>Weights (time) tensor dimensions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">weights_time_data</td><td>Pointer to the weights (time) tensor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bias_dims</td><td>Bias tensor dimensions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bias_data</td><td>Pointer to bias tensor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">output_dims</td><td>Output tensor dimensions </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">output_data</td><td>Pointer to the output tensor</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>ARM_MATH_SUCCESS</code></dd></dl>
<ol type="1">
<li>Supported framework: TensorFlow Lite micro</li>
<li>q7 is used as data type eventhough it is s8 data. It is done so to be consistent with existing APIs. </li>
</ol>

<p>References <a class="el" href="arm__nnsupportfunctions_8h.html#a6a13b7a567485da5fc7f0d311318886d">arm_nn_requantize()</a>, <a class="el" href="group__NNBasicMath.html#ga140e5a1a4c146c8e90491792ed104d70">arm_nn_vec_mat_mult_t_s8()</a>, <a class="el" href="structcmsis__nn__context.html#a3e613ad30f12df59853a1b3565212702">cmsis_nn_context::buf</a>, <a class="el" href="arm__nnsupportfunctions_8h.html#abe05f0e80d965ae31dec16ba4063f48a">CLAMP</a>, <a class="el" href="structcmsis__nn__dims.html#a471946ee336572a5a96eeb0894e6005a">cmsis_nn_dims::h</a>, <a class="el" href="structcmsis__nn__svdf__params.html#af9bee3ba507e5226a264097a6a6e78ed">cmsis_nn_svdf_params::input_activation</a>, <a class="el" href="structcmsis__nn__svdf__params.html#a4afe1cfeca461ebb42dab876e3b5c31e">cmsis_nn_svdf_params::input_offset</a>, <a class="el" href="structcmsis__nn__activation.html#a5fefc67d8979f6a9efe36330b9ba81cf">cmsis_nn_activation::max</a>, <a class="el" href="structcmsis__nn__activation.html#a88a2ecd4bda8cd5f339c826df578585a">cmsis_nn_activation::min</a>, <a class="el" href="structcmsis__nn__per__tensor__quant__params.html#a4edb6cf363e3d30ad7e5166275629548">cmsis_nn_per_tensor_quant_params::multiplier</a>, <a class="el" href="structcmsis__nn__dims.html#a907a0be31e2e3de73df89b1327724555">cmsis_nn_dims::n</a>, <a class="el" href="structcmsis__nn__svdf__params.html#aab0d36ffecc3ccc296e3dd6149c8f37b">cmsis_nn_svdf_params::output_activation</a>, <a class="el" href="structcmsis__nn__svdf__params.html#a62b484efb24bae6a05be502a18168257">cmsis_nn_svdf_params::output_offset</a>, <a class="el" href="structcmsis__nn__svdf__params.html#a2334fd8228d3989dc34abd2bc36ca032">cmsis_nn_svdf_params::rank</a>, and <a class="el" href="structcmsis__nn__per__tensor__quant__params.html#a944f9c7b4f01355406b0a2ec9d578b87">cmsis_nn_per_tensor_quant_params::shift</a>.</p>

</div>
</div>
<a class="anchor" id="ga3dc1b94f56e80e5b80b353ce8d9650b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">arm_status arm_svdf_state_s16_s8 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__context.html">cmsis_nn_context</a> *&#160;</td>
          <td class="paramname"><em>input_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__context.html">cmsis_nn_context</a> *&#160;</td>
          <td class="paramname"><em>output_ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__svdf__params.html">cmsis_nn_svdf_params</a> *&#160;</td>
          <td class="paramname"><em>svdf_params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__per__tensor__quant__params.html">cmsis_nn_per_tensor_quant_params</a> *&#160;</td>
          <td class="paramname"><em>input_quant_params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__per__tensor__quant__params.html">cmsis_nn_per_tensor_quant_params</a> *&#160;</td>
          <td class="paramname"><em>output_quant_params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>input_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const q7_t *&#160;</td>
          <td class="paramname"><em>input_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>state_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">q15_t *&#160;</td>
          <td class="paramname"><em>state_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>weights_feature_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const q7_t *&#160;</td>
          <td class="paramname"><em>weights_feature_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>weights_time_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const q15_t *&#160;</td>
          <td class="paramname"><em>weights_time_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>bias_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const q31_t *&#160;</td>
          <td class="paramname"><em>bias_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcmsis__nn__dims.html">cmsis_nn_dims</a> *&#160;</td>
          <td class="paramname"><em>output_dims</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">q7_t *&#160;</td>
          <td class="paramname"><em>output_data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">input_ctx</td><td>Temporary scratch buffer </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">output_ctx</td><td>Temporary output scratch buffer </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">svdf_params</td><td>SVDF Parameters Range of svdf_params-&gt;input_offset : [-128, 127] Range of svdf_params-&gt;output_offset : [-128, 127] </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">input_quant_params</td><td>Input quantization parameters </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">output_quant_params</td><td>Output quantization parameters </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">input_dims</td><td>Input tensor dimensions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">input_data</td><td>Pointer to input tensor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">state_dims</td><td>State tensor dimensions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">state_data</td><td>Pointer to state tensor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">weights_feature_dims</td><td>Weights (feature) tensor dimensions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">weights_feature_data</td><td>Pointer to the weights (feature) tensor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">weights_time_dims</td><td>Weights (time) tensor dimensions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">weights_time_data</td><td>Pointer to the weights (time) tensor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bias_dims</td><td>Bias tensor dimensions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bias_data</td><td>Pointer to bias tensor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">output_dims</td><td>Output tensor dimensions </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">output_data</td><td>Pointer to the output tensor</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>ARM_MATH_SUCCESS</code></dd></dl>
<ol type="1">
<li>Supported framework: TensorFlow Lite micro</li>
<li>q7 is used as data type eventhough it is s8 data. It is done so to be consistent with existing APIs. </li>
</ol>

<p>References <a class="el" href="arm__nnsupportfunctions_8h.html#afdda94a339b76615d3161e9fc63f4d21">arm_nn_read_q15x2_ia()</a>, <a class="el" href="arm__nnsupportfunctions_8h.html#a6a13b7a567485da5fc7f0d311318886d">arm_nn_requantize()</a>, <a class="el" href="group__NNBasicMath.html#gac0675e8069a303ce2e8f8ed2a9320859">arm_nn_vec_mat_mult_t_svdf_s8()</a>, <a class="el" href="structcmsis__nn__context.html#a3e613ad30f12df59853a1b3565212702">cmsis_nn_context::buf</a>, <a class="el" href="arm__nnsupportfunctions_8h.html#abe05f0e80d965ae31dec16ba4063f48a">CLAMP</a>, <a class="el" href="structcmsis__nn__dims.html#a471946ee336572a5a96eeb0894e6005a">cmsis_nn_dims::h</a>, <a class="el" href="structcmsis__nn__svdf__params.html#af9bee3ba507e5226a264097a6a6e78ed">cmsis_nn_svdf_params::input_activation</a>, <a class="el" href="structcmsis__nn__svdf__params.html#a4afe1cfeca461ebb42dab876e3b5c31e">cmsis_nn_svdf_params::input_offset</a>, <a class="el" href="structcmsis__nn__activation.html#a5fefc67d8979f6a9efe36330b9ba81cf">cmsis_nn_activation::max</a>, <a class="el" href="structcmsis__nn__activation.html#a88a2ecd4bda8cd5f339c826df578585a">cmsis_nn_activation::min</a>, <a class="el" href="structcmsis__nn__per__tensor__quant__params.html#a4edb6cf363e3d30ad7e5166275629548">cmsis_nn_per_tensor_quant_params::multiplier</a>, <a class="el" href="structcmsis__nn__dims.html#a907a0be31e2e3de73df89b1327724555">cmsis_nn_dims::n</a>, <a class="el" href="structcmsis__nn__svdf__params.html#aab0d36ffecc3ccc296e3dd6149c8f37b">cmsis_nn_svdf_params::output_activation</a>, <a class="el" href="structcmsis__nn__svdf__params.html#a62b484efb24bae6a05be502a18168257">cmsis_nn_svdf_params::output_offset</a>, <a class="el" href="structcmsis__nn__svdf__params.html#a2334fd8228d3989dc34abd2bc36ca032">cmsis_nn_svdf_params::rank</a>, and <a class="el" href="structcmsis__nn__per__tensor__quant__params.html#a944f9c7b4f01355406b0a2ec9d578b87">cmsis_nn_per_tensor_quant_params::shift</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">
      <script type="text/javascript">
        <!--
        writeFooter.call(this);
        //-->
      </script>    
    </li>
  </ul>
</div>
</body>
</html>
